package consys.social.core.bo;

import consys.social.core.service.SocialUtils;

/**
 * extends Post - it inherits basic properties: addedBy, text and date
 *
 * @author Petr Kunc
 */
public class DiscussionPost extends Post {
    private static final long serialVersionUID = 7849520347754042942L;

    @Override
    public String toString() {
        return SocialUtils.dateToString(getDate())+":"+getAddedBy().getUid()+":"+getText();
    }
}
